<?php
/**
 * Created by PhpStorm.
 * User: LiuJiaJun
 * Date: 2019/1/13
 * Time: 22:42
 */

namespace api\storage\service;


class OutflowService
{

    public static function generateOutflow($reelId,$count,$materielId,$orderId,$storageUuid,$userLogin,$remark = '',$fentryId = ''){
        return [
            'uuid'=>create_uuid(),
            'reel_id'=>$reelId,
            'count'=>$count,
            'sub_materiel_id'=>$materielId,
            'order_id'=>$orderId,
            'fentryid'=>$fentryId,
            'storage_uuid'=>$storageUuid,
            'user_login'=>$userLogin,
            'remark'=>$remark,
            'time'=>get_current_time()
        ];
    }
}